by Ray Parrishon 2009-08-04T21:22:01+00:00
Hello,
I have several conversion programs already, but none of
them will let me
convert to windows style video files for upload
to YouTube. YouTube will
not take .ogg, and the .avi format I
have been converting my .oggs to
loses detail and looks fuzzy and
out of focus when used.
Does anyone know what programs and
plugisns I need to convert .ogg to
.wmv, .mp4, or. .mpeg?
Thanks,
Ray Parrish
--
>
sudo apt-get install avidemux
--
I already have that, and it refuses to open .ogg files,
claiming that
they cannot be opened. Any other ideas?
Later,
Ray Parrish
--
Currently avidemux does not support ogv
files. I use ffmpeg from the
command line. You need to make sure
you have the ffmpeg package installed:
$ sudo apt-get install
ffmpeg
Then to do the conversion:
$ ffmpeg -i input.ogv -b
5000k output.avi
If you want a graphical utility to do the same I
think winff should be
able to do it (I don't use it, I just know
of it).
Hope that helps,
OK, your command there shows
converting to .avi format, but is it also
possible to convert to
.wmv or .mpg format as well with ffmpeg?
Later, Ray Parrish
>
Yes it converts it to mpeg already, avi is just the
container (if I'm
not mistaking). ffmpeg cannot write wmv files as
far as I know. If you
would like to specify the target format use
the following option in your
command (taken from ffmpeg's man
page):
-target type
Specify target file type ("vcd",
"svcd", "dvd", "dv", "dv50",
"pal-vcd",
"ntsc-svcd", ... ). All the format options (bitrate,
codecs,
buffer sizes)
are then set automatically. You can just
type:
ffmpeg -i myfile.avi -target vcd /tmp/vcd.mpg
-komputes
--
Hello again,
I successfully converted an .ogg file to mpeg with
ffmpeg by copying the
command you gave before.
Winff converts
to .wmv format, but not .mpg, and it uses ffmpeg to do
so. I
wonder how to make a preset in winff to convert to mpg instead of
just .wmv which is all I can find in it right now.
Was that
5000 k bit rate a joke, or is it a valid setting? I got lots of
the
following errors when I ran that command you gave me before.
[mpeg
@ 0xb7f86110]packet too large, ignoring buffer limits to mux it
[mpeg
@ 0xb7f86110]buffer underflow
[mpeg @ 0xb7f86110]buffer
underflowime=85.0 bitrate=5103.5kbits/s
I've also just been
reading the man page for ffmpeg, and now see how
easy it is to
use. Thank you for tipping me off on this program, as the
man
page for the other command line converter I installed was pages, and
pages long with option after option, whereas ffmpeg's page is
concise,
and it's options are fewer, and simpler to understand,
but very adequate
for my purposes.
Later, Ray Parrish
--
> OK, your command there shows converting to .avi format,
but is it also
> possible to convert to .wmv or .mpg format as
well with ffmpeg?
I am not sure, but I suggest making sure you are
completely up to date
with all the codecs that are available. The
more you have the better
your chances. First make sure you have
all the repos, Universe,
Multiverse and importantly Medibuntu.
Then fire up synaptic (or whatever
you prefer) and search for
anything that looks like it might be to do
with audio codecs - I
find matches to things like 'codec', 'extra',
'mp3' or 'ugly'
usually find most things, but anything that springs to
mind is
OK. I've never broken a system by installing a pacakge from the
main
repos, so you should be save to install anything that looks
interesting :)
For windows formats, look for win32codecs or
win64codecs (might be
called w32codecs or w64codecs, not
sure).
cheers Chris
--
> YouTube will not take .ogg...
You could try to upload
your .ogg Theora videos to thevideobay.org
instead of
youtube.
Eric...
--
> OK, your command there shows converting to .avi format, but is
it also
> possible to convert to .wmv or .mpg format as well
with ffmpeg?
ffmpeg -i infile.ogv -b 5000k outfile.wmv
works
for me with ffmpeg from the debian-multimedia site.
--
In case
it not known, you can get ffmpeg from the Ubuntu repository. I
just
did and it works fine.
--
> In case it not known, you
can get ffmpeg from the Ubuntu repository. I
> just did and it
works fine.
The standard ffmpeg is 'restricted' to non-restricted
formats, if you
follow me. If you want the full fat version,
enable medibuntu. A
standard system update should then bring in
that version.
Chris
--
>
http://medibuntu.org
it
contains all restricted, non free codecs
--
>
Hey look at that, it does wmv! For MPEG, the choices
VCD (MPEG1) DVD
(MPEG2) and MP4 (MPEG4) given by winff are all
mpg.
I wonder why it doesn't needs (as Chris suggested) the full
ffmpeg from
medibuntu to convert to .wmv successfully. The codec
it uses is wmv2 for
video and wma.v8 for audio. Are these not
restricted formats?
> Was that 5000 k bit rate a joke, or is it
a valid setting? I got lots of
> the following errors when I
ran that command you gave me before.
>
No joke. Is it too
high? I just tested a few bitrates when I was making
a screencast
recorded in .ogv by gtk-recordmydesktop. I did not want to
lose
any quality before bringing it into avidemux. It works for me
and
re-encoded with the least amount of quality loss through
compression.
-komputes
--
>
I took a look at them, and they look a bit green, and
undeveloped for my
purposes. I'm glad they support .ogg, but i
need a place to serve videos
from via my web sites, which You
Tube works very well for now that I
know how to convert .oggs to
the formats they require.
Later, Ray Parrish
--
The Future
of
Technology.
http://www.rayslinks.com/The%20Future%20of%20Technology.html
Ray's
Links, a variety of links to usefull things, and articles by
Ray.
http://www.rayslinks.com
Writings of "The"
Schizophrenic, what it's like to be a schizo, and other
things,
including my poetry.
http://www.writingsoftheschizophrenic.com
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify
settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
by Ray Parrishon 2009-08-05T23:21:04+00:00.
komputes wrote:
> Ray Parrish
wrote:
>
>> komputes wrote:
>>
>>
>>> Yes it converts it to mpeg already, avi is just the
container (if I'm
>>> not mistaking). ffmpeg cannot write
wmv files as far as I know. If you
>>> would like to
specify the target format use the following option in your
>>>
command (taken from ffmpeg's man page):
>>>
>>>
-target type
>>> Specify target file type ("vcd",
"svcd", "dvd", "dv", "dv50",
>>>
"pal-vcd", "ntsc-svcd", ... ). All the format
options (bitrate, codecs,
>>> buffer sizes)
>>>
are then set automatically. You can just type:
>>>
>>>
ffmpeg -i myfile.avi -target vcd /tmp/vcd.mpg
>>>
>>>
>>>
-komputes
>>>
>>>
>>>
>>
Hello again,
>>
>> I successfully converted an .ogg
file to mpeg with ffmpeg by copying the
>> command you gave
before.
>>
>> Winff converts to .wmv format, but
not .mpg, and it uses ffmpeg to do
>> so. I wonder how to
make a preset in winff to convert to mpg instead of
>> just
.wmv which is all I can find in it right now.
>>
>>
> Hey look at that, it does wmv! For MPEG, the choices VCD
(MPEG1) DVD
> (MPEG2) and MP4 (MPEG4) given by winff are all
mpg.
>
> I wonder why it doesn't needs (as Chris
suggested) the full ffmpeg from
> medibuntu to convert to .wmv
successfully. The codec it uses is wmv2 for
> video and wma.v8
for audio. Are these not restricted formats?
>
>> Was
that 5000 k bit rate a joke, or is it a valid setting? I got lots of
>> the following errors when I ran that command you gave me
before.
>>
>>
> No joke. Is it too high? I
just tested a few bitrates when I was making
> a screencast
recorded in .ogv by gtk-recordmydesktop. I did not want to
>
lose any quality before bringing it into avidemux. It works for me
and
> re-encoded with the least amount of quality loss through
compression.
>
> -komputes
>
Well, it did
successfully convert the video with no attendant fuzziness
in the
output file, so the error messages are no big deal.
Thanks for the
explanation of VCD, etc... I would never have known those
were
for mpg files. Learning a little each day!
Later, Ray Parrish
--